package com.gscitysfy.cus.drain.modules.duty.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.gscitysfy.cus.drain.modules.duty.entity.MoperDutyMnPeople;
import com.gscitysfy.cus.drain.modules.duty.entity.MoperDutyMnPeopleExcel;

import java.util.List;

/**
 * @author 葛守跃
 * @version 1.0.0
 * @ClassName MoperDutyMnPeopleMapper
 * @Description mapper
 * @creatTime 2022-03-31 10:56:13
 */
public interface MoperDutyMnPeopleMapper extends BaseMapper<MoperDutyMnPeople> {
    /**
     * 条件查询值班人员列表
     * @param page
     * @param people
     * @return
     */
    IPage<MoperDutyMnPeople> getDutyPeopleListByCondition(Page<MoperDutyMnPeople> page, MoperDutyMnPeople people);

    /**
     * 条件查询值班人员列表
     * @param people
     * @return
     */
    List<MoperDutyMnPeopleExcel> getDutyPeopleExcelList(MoperDutyMnPeople people);

}
